<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<script type="text/javascript" src="${initParam.context_root }/script/script.js"></script>
<b>글쓰기</b><p/>
<form action="/${initParam.context_root }/admin/com/login/writeContent.do" method="post" onsubmit="return writeFormCheck(this);">
<input type="hidden" name="id" value="${sessionScope.login_info.id }">
<input type="hidden" name="nickname" value="${sessionScope.login_info.nickname }">
<table sytle="whdth:600px" align="center">
<tr>
	<td width="100px">제목</td>
	<td><input type="text" name="title" size="50"></td>
 </tr>
 <tr>
	<td>작성자</td>
	<!-- <td><input type="text" name="nickname"></td> -->
	<td>${sessionScope.login_info.nickname }</td>
 </tr>
 <tr>
	<td colspan=2>
		<textarea cols="75" rows="15" name="content"></textarea>
	</td>
 </tr>
 <tr>
 	<td colspan="2" align="center">
	 	<input type="submit" value="등록">
	 	<input type="reset" value="초기화">
	 </td>
 </tr>
 </table>
 </form>